package com.cms.material.adapter

import com.android.baselibrary.base.BaseAdapter
import com.cms.material.R
import com.cms.material.bean.MaterialBean
import com.cms.material.databinding.ItemMaterialBinding

class MaterialMainAdapter :BaseAdapter<MaterialBean,ItemMaterialBinding>() {
    override fun getItemLayoutId(): Int = R.layout.item_material

    override fun covert(binding: ItemMaterialBinding, t: MaterialBean, position: Int) {
        binding.material = t
    }
}